import defaultSettings from '@/settings'

const title = defaultSettings.title || '人资管理系统'

export default function getPageTitle (pageTitle) {//进行判断
  if (pageTitle) {
    return `${title}-${pageTitle}`//如果有值就拼接
  }
  return `${title}`//无值就返回标题
}
